package com.hy.study.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author huyong
 * @date 2024 年 01 月 05 日 15:46: 30
 */
@Data
@TableName(value = "TB_USER")
public class User implements Serializable {
    private Integer id;
    private String username;
    private String pwd;
    private Integer salary;

    public void setSalary(Integer salary) {
        this.salary = salary * 100;
    }

}
